package com.wsoft.cms.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wsoft.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * <p>
 * 用户通告阅读标记表
 * </p>
 *
 * @author juiet
 * @since 2024年11月27日 10:38:44
 */
@Getter
@Setter
@TableName("cms_announcement_read")
@Schema(name = "CmsAnnouncementReadEntity", description = "用户通告阅读标记表")
public class CmsAnnouncementReadEntity extends BaseEntity {

    @Schema(description = "公告ID")
    @TableField("anno_id")
    private Long annoId;

    @Schema(description = "用户id")
    @TableField("member_id")
    private Long memberId;

    @Schema(description = "阅读状态（0未读，1已读）")
    @TableField("read_flag")
    private Integer readFlag;

    @Schema(description = "阅读时间")
    @TableField("read_time")
    private LocalDateTime readTime;
}
